<div ng-controller="apartmentManageController" >
    <div class="top-box">
        <div class="btn-search-box">
            <div class="btn-add-container">
                <button  class="btn-add" ng-click="addApartmentInfoPage()" value="">
                    <span>新增 </span>
                    <img class="img-add" src="img/apament/add.png">
                </button>
            </div>
            <div class="search-bar-box">
                <input class="search-sty" placeholder="请输入搜索框内容">
                <div class="search-icon">
                    <img class="img-search" src="img/apament/search.png">
                </div>
            </div>
        </div>
    </div>
    <div class="center-box"  >
        <div class="center-content"  ng-repeat="content in companyDetails" id="content.id">
            <div class="center-img" ng-click="showcompanyDetails(content)">

                <img ng-src="{{getReallyPicturePaths(content.pictures).length > 0 ? getReallyPicturePaths(content.pictures)[0]:''}}"/>
            </div>
            <div style="overflow: auto; overflow-x: hidden">
                <div class="center-main-content">
                    <div class="center-main-text">
                    <div class="center-main-content-name">
                        {{content.name}}
                    </div>
                    <div class="center-main-content-sub">
                        {{content.subway}}
                    </div>
                    <div class="center-home-info-box">
                        <div class="area-floor-type">
                            {{content.area}}<span>m<sup>2</sup></span> | {{content.floor}}/{{content.buildingHeight}}层 | {{content.type}}
                        </div>
                        <div class="sub-distance">
                            {{content.subwayDistance}}
                        </div>
                    </div>
                    <div class="tags-info-box">
                        <div class="tags-info-{{item.length}}" ng-repeat="item in content.tags.slice(0,4)">
                            {{item}}
                        </div>
                    </div>
                    </div>
                </div>

                <div class="center-price-box">
                    <!--<span class="center-line"></span>-->
                    <div class="price-sty">
                        ￥{{content.price}}
                        <div class="price-sty-unit">
                            （每月）
                        </div>
                    </div>
                    <div class="sale-status">
                        {{getApartManageStatus(content.status)}}
                    </div>
                </div>
            </div>
        </div>

    </div>
    <div class="page">
        <div id="paginationContainer"></div>
    </div>

</div>
